package com.e3.basdoc.measure.client;

import com.e3.basdoc.measure.model.MeasureUnitModel;
import com.e3.template.tgf.GFRefDialog;
import com.e3.template.tgf.TGFGridPanel;
import com.e3.template.tgf.TGFQueryDialog;

public class MeasureUnitRefDialog extends GFRefDialog<MeasureUnitModel> {

	@Override
	protected String getRefDialogTitle() {
		return MeasureUnitMessages.INSTANCE.title_measureunit_refdialog();
	}

	@Override
	protected TGFGridPanel<MeasureUnitModel> createGridPanel() {
		return new MeasureUnitGridPanel();
	}

	@Override
	protected TGFQueryDialog<MeasureUnitModel> createQueryDialog() {
		return new MeasureUnitQueryDialog();
	}

	@Override
	protected String getCurrentLocalName() {
		return MeasureUnitMessages.INSTANCE.local_name();
	}

}
